package com.md.common.utils.security.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 功能描述：RSA公钥私钥
 *
 * @author lujianping@oak168.com
 * @version 1.0
 * @date 2018-8-14 17:37
 * @since JDK 1.8
 */
@Component
@ConfigurationProperties(prefix = "api.rsa")
public class RSAProperties {
	private String publicKeyModulus;
	private String publicKeyExponent;
	private String privateKeyExponent;

	public String getPublicKeyModulus() {
		return publicKeyModulus;
	}

	public void setPublicKeyModulus(String publicKeyModulus) {
		this.publicKeyModulus = publicKeyModulus;
	}

	public String getPublicKeyExponent() {
		return publicKeyExponent;
	}

	public void setPublicKeyExponent(String publicKeyExponent) {
		this.publicKeyExponent = publicKeyExponent;
	}

	public String getPrivateKeyExponent() {
		return privateKeyExponent;
	}

	public void setPrivateKeyExponent(String privateKeyExponent) {
		this.privateKeyExponent = privateKeyExponent;
	}
}